<form class="form-horizontal">
	<div class="modal-dialog" role="document">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal"
					aria-label="Close">
					<span aria-hidden="true">&times;</span>
				</button>
				<h4 class="modal-title" id="myModaLabel">${_res["systemManage.menuSup"]}</h4>
			</div>
			<div class="modal-body">
				<div class="partentDivWrap">
					<!-- This is mtree list -->
					<#menuTree rootNode="true"/>
				</div>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-warning" data-dismiss="modal">${_res["system.return"]}</button>
				<button type="button" class="btn btn-primary" data-dismiss="modal">${_res["system.confirm"]}</button>
			</div>
		</div>
	</div>
</form>


<!-- 树状菜单mtree.js， 例如：父菜单选择-->
<script src="${cxt!}/js/plugins/mtree/mtree.js"></script>
<script>
		function setParentMenuId(mendId,menuName){
			$("#parentMenuId").val(mendId);
			$("#partentMenuName").val(menuName);
			var element = $("#parentMenuId");
			element.closest('div').removeClass('has-error').addClass('has-success');
			element.next().text("");
		}
	
</script>